export default {
  namespaced: true,
  state: {
    photo: localStorage.getItem('TT_PT') || ''
  },

  mutations: {
    setPhoto (state, photo) {
      state.photo = photo
      localStorage.setItem('TT_PT', JSON.stringify(photo))
    }
  }
}
